package cn.com.surker.enums.weight;

import cn.com.surker.enums.ICodeDescEnum;
import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2023年04月21 14:26
 * @desc 过磅订单类型
 */
public enum OrderWeightTypeEnum implements ICodeDescEnum {

    QT(0,"其它过磅"),
    YC(1,"原材"),
    FC(2,"辅材"),
    STTL(3,"商砼退料"),
    TGB(4,"砼过磅"),
    CP(5,"除皮"),
    CZ(7,"除渣"),
    YCCS(6,"原材出售");

    private final String description;

    private final Integer code;

    OrderWeightTypeEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
